package com.easy.bean;

public class Patient {
    private int id;
    private String name;
    private String sex;
    private int age;
    private String contact;
    private int isdel;

    public Patient() {
    }

    @Override
    public String toString() {
        return "Patient{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", contact='" + contact + '\'' +
                ", isdel=" + isdel +
                '}';
    }

    public Patient(int id, String name, String sex, int age, String contactint , int isdel) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.contact = contact;
        this.isdel=isdel;
    }

    public int getIsdel() {
        return isdel;
    }

    public void setIsdel(int isdel) {
        this.isdel = isdel;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }
}
